dxp-ux

(0 reviews)

customerBill(TMF678 GET) retriveCustomerBills - V1

CASE 1 Unitary Test

This use case is to retrieve bill history from evertec

URL
https://nonprod.esb.cloud.lla.com/dev/dxp-ux/dxp-ux/v1/PR/customerBill
URI Param
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, PR etc.) identifying the business unit.
Expected one is "PR"-Puerto Rico
Y
Query Param
nametypedescriptionrequired
billingAccount.idstringcustomer account id, without any "-"Y
relatedParty.idstringdescribes the billing provider as a related party playing the role of organization
example 002 for AT&T and 001 for Liberty
Y
namevaluedescriptionrequired
client_idstringThe client_id identifying the channel.Y
client_secretstringPassword associated with the client_id.Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server.
Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.
Note - Mule default behavior creates a sample x-correlation-id field if value is not passed from client, API will use this value in case value is not passed in API request
Y
targetSystemstringTarget system identifier
Allowed values are "EVERTEC"
Y
lobstringDefines the line of business
Allowed values are "POSTPAID"
Y
channelIdstringSource system identifier
allowed values are "APP"
Y
Request
curl --location 'https://nonprod.esb.cloud.lla.com/dev/dxp-ux/dxp-ux/v1/PR/customerBill?billingAccount.id=821470133&relatedParty.id=002' \
--header 'client_id: 784c9a6dd7ae49768816cab57fcf1fa1' \
--header 'client_secret: 187b259EB77441babbF611d2646C670d' \
--header 'X-Correlation-ID: 26565-56255-4245625' \
--header 'targetSystem: EVERTEC' \
--header 'lob: POSTPAID' \
--header 'channelId: APP'
Response
200 OK
[
    {
        "id": "265479404",
        "billDocument": [
            {
                "id": "2"
            }
        ],
        "billDate": "2024-04-18"
    },
    {
        "id": "261621184",
        "billDocument": [
            {
                "id": "2"
            }
        ],
        "billDate": "2024-03-18"
    }
]
Field Definitions
namevaluedescriptionrequired
idstringBill IdN
billDocumentarrayarray object of bill documentN
billDocument.idstringType of the bill document
Expected values are 1 is for Liberty or 2 is for AT&T
N
billDatestringBill Date
example "2024-01-10"
N

Reviews